package com.huitone.gddw.dao.worktable.paramconfigmanage;

import java.util.List;
import java.util.Map;

import com.huitone.gddw.dao.entity.DicDef;

public interface IDicDefDao {
    int deleteByPrimaryKey(String dicId);

    int insert(DicDef record);

    int insertSelective(DicDef record);

    DicDef selectByPrimaryKey(String dicId);

    int updateByPrimaryKeySelective(DicDef record);

    int updateByPrimaryKey(DicDef record);
    
    List<Map<String,Object>>getDicNameCn(String dicType);
    
    /**
     * 根据字典名查询字典值名，字典值
     * @param dicName
     * @return
     */
    List<Map<String,Object>>selectByDicName(String dicName);
    
    /**
     * 根据属性查询唯一记录
     * @param dicName、dicValue
     * @return
     */
    DicDef findOne(Map<String , Object> params);
    
}